<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:pe="http://primefaces.org/ui/extensions">

<ui:composition template="/templates/template.xhtml">

	<ui:define name="content">
		<h:form id="formRelProc">
			<p:growl id="mensagens" life="#{msg.time_stick}" />

				<p:dataTable value="#{animalFaces.listaAnimal}" var="item" id="tabelaAnimal" 
					emptyMessage=" " styleClass="tabelaCompleta" 
					rowStyleClass="#{empty rowIx or rowIx mod 2 ne 0 ? 'even-row' : 'odd-row'}" rowIndexVar="rowIx"
					>
					
					<f:facet name="header">
						<div align="left"><h:outputText value="Relatório" styleClass="tituloPainelInternoComBotao"/></div>
					</f:facet>

				<p:column headerText="Data procedimento">
				
				</p:column>
			</p:dataTable>
			
			<h3>Export Page Data Only</h3>
			<p:commandButton actionListener="#{animalFaces.prepararAdicionar()}"  id="novoAnimal" icon="imgExcel" >
		        <p:dataExporter type="xls" target="tbl" fileName="cars" pageOnly="true"/>
			</p:commandButton>
    
    

		</h:form>
	</ui:define>
</ui:composition>
</html>